#ifndef GROUP_HPP
#define GROUP_HPP

#include "content/data_provider.hpp"
#include "ui/container/container_base.hpp"

class group : public ui_container
{
public:
    using ui_container::ui_container;
protected:
    void init_content(const xml_node &node) override;
    void draw_self() override;
    void draw_children() override;

private:
    bool is_open_;
    data_provider_p header_;
};

#endif // GROUP_HPP
